package com.feng.exma.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author feng
 * @since 2023-03-22 17:35:29
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("el_exam_user")
@ApiModel(value = "ExamUser对象", description = "")
public class ExamUser {

    @ApiModelProperty("指定用户试卷")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty("用户Id")
    @TableField("user_id")
    private String userId;

    @ApiModelProperty("试卷Id")
    @TableField("exam_id")
    private String examId;


}
